<# include "resource.html" encoding="utf-8"/>
<div class="wrapper wrapper-content">
  	<div class="container">
		<div class="row">
		    <div class="col-lg-12">
		        <div class="ibox float-e-margins">
		            <div class="ibox-title">
		                <h5>${codeName}</h5>
		            </div>
		            <div class="ibox-content">
		                <div class="row">
                            <div class="col-sm-3">
                                <div class="input-group">
                                #foreach($po in $!{columnDatas})
									#if  ($po.columnName !='id' && $velocityCount  < 4)
										${po.columnComment}:<input type="text" name="${po.attibuteName}" placeholder="${po.columnComment}" class="input-sm form-control">
									#end
									#end
                                    <span class="input-group-btn">
                                        <button type="button" class="btn btn-sm btn-primary"> 搜索</button> 
                                    </span>
                                </div>
                            </div>
                        </div>
						<div class="row" id="toolbar">
						</div>
		                <div class="table-responsive">
		                    <table class="table table-striped" id="data-list"></table>
		                </div>
		            </div>
		        </div>
		    </div>
		</div>
	</div>
</div>
<div class="modal inmodal" id="win-add" tabindex="-1" role="dialog" aria-hidden="true">
	<div class="modal-dialog">
	    <div class="modal-content animated bounceInRight">
	        <div class="modal-body">
	            <div class="ibox-content">
	                <form method="get" class="form-horizontal">
	                	<input class="hidden" name="id">
	                #foreach($po in $!{columnDatas})
						#if ($po.columnName !='id')
						<div class="form-group">
                        	<label class="col-sm-3 control-label">${po.columnComment}：</label>
                            <div class="col-sm-8">
                            	<input id="${po.attibuteName}" name="${po.attibuteName}" minlength="${po.charmaxLength}" type="text" class="form-control" required="" aria-required="true">
                            </div>
                        </div>    	   
						#end
					#end
						<div class="form-group">
	                        <div class="col-sm-4 col-sm-offset-2">
	                            <button class="btn btn-primary submit" type="submit">保存</button>
	                            <button class="btn btn-white close" type="reset">关闭</button>
	                        </div>
	                    </div>
	                </form>
	            </div>
	        </div>
	    </div>
	</div>
</div>
<script type="text/javascript" src="${basePath}/pageJs/${entityPackage}/page-${lowerName}.js"></script>